package apiPractice;

public class practice03 {
    public static void main(String[] args) {
        String str1="abcdergfdsa";
        String str2="12485das";
        System.out.println(str1.indexOf("r"));//5
        System.out.println(str1.charAt(5));//r
        str2=str1.concat(str2);
        System.out.println(str2.toString());
        System.out.println(str2.lastIndexOf("a"));
        System.out.println(str2.substring(1,5));//bcde
        System.out.println(str2.substring(10));
        System.out.println(String.valueOf(5.666447));
    }
}
